{"version":3,"sources":["promise.js"],"names":["window","Promise","toString","indexOf","PROMISE_STATUS","PROMISE_VALUE","STATUS_PENDING","STATUS_INTERNAL_PENDING","STATUS_RESOLVED","STATUS_REJECTED","handle","promise","deferred","deferreds","push","handled","setTimeout","callback","onFulfilled","onRejected","resolve","err","reject","value","TypeError","finale","then","executePromise","bind","reason","length","console","error","forEach","resolver","done","resolveWrapper","rejectWrapper","Handler","this","prototype","all","iterable","args","slice","call","remaining","res","i","val","ex","constructor","race","len"],"mappings":"CAAC,SAAUA,GACV,aAEA,UAAWA,EAAOC,UAAY,aAC7BD,EAAOC,QAAQC,WAAWC,QAAQ,oBAAsB,EACzD,CACC,IAAIC,EAAiB,oBACrB,IAAIC,EAAgB,mBACpB,IAAIC,EAAiB,UACrB,IAAIC,EAA0B,mBAC9B,IAAIC,EAAkB,WACtB,IAAIC,EAAkB,WAQtB,IAAIC,EAAS,SAASC,EAASC,GAE9B,GAAID,EAAQP,KAAoBG,EAChC,CACCI,EAAUA,EAAQN,GAGnB,GAAIM,EAAQP,KAAoBE,EAChC,CACCK,EAAQE,UAAUC,KAAKF,OAGxB,CACCD,EAAQI,QAAU,KAElBC,WAAW,WACV,IAAIC,EAAWN,EAAQP,KAAoBI,EAC1CI,EAASM,YAAcN,EAASO,WAEjC,GAAIF,EACJ,CACC,IACCG,EAAQR,EAASD,QAASM,EAASN,EAAQN,KAC1C,MAAOgB,GACRC,EAAOV,EAASD,QAASU,QAI3B,CACC,GAAIV,EAAQP,KAAoBI,EAChC,CACCY,EAAQR,EAASD,QAASA,EAAQN,QAGnC,CACCiB,EAAOV,EAASD,QAASA,EAAQN,OAGjC,KAUL,IAAIe,EAAU,SAAST,EAASY,GAC/B,GAAIA,IAAUZ,EACd,CACC,MAAM,IAAIa,UAAU,iDAGrB,IACC,GAAID,WAAiBA,IAAU,iBAAmBA,IAAU,YAC5D,CACC,GAAIA,aAAiBtB,EACrB,CACCU,EAAQP,GAAkBG,EAC1BI,EAAQN,GAAiBkB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